package cn.humaohua.study.yanmo_design_pattern.ch24.v2;

/**
 * Created by hmh on 09/01/2018.
 */
public class UrgencyMessage extends AbstractMessage {
    public UrgencyMessage(MessageImplementor impl) {
        super(impl);
    }

    @Override
    public void sendMessage(String message, String toUser) {
        message = "agency " + message;
        super.sendMessage(message, toUser);
    }

    public Object watch(String messageId) {
        //获取相应的数据,组织成监控的数据对象,然后返回
        return null;
    }
}